﻿using JESAI.HttpRequestMonitor.Core.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.HttpRequestMonitor.Core.Abstracts
{
    /// <summary>
    /// 监控信息实体
    /// </summary>
    public interface IMonitorModel
    {
        /// <summary>
        /// 监控信息ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 规则ID
        /// </summary>
        public string RuleId { get; set; }

        /// <summary>
        /// 监控类型
        /// </summary>
        public MonitorType MonitorType { get; }

        /// <summary>
        /// 监控详情描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Cron表达式
        /// </summary>
        public string CronExpression { get; set; }

    }
}
